Optimal. Leaf size=19 \[ \sqrt{2} \tanh ^{-1}\left (\frac{\tanh (x)}{\sqrt{2}}\right )-x \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0514689, antiderivative size = 19, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.3, Rules used = {3660, 3675, 206} \[ \sqrt{2} \tanh ^{-1}\left (\frac{\tanh (x)}{\sqrt{2}}\right )-x \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3660
Rule 3675
Rule 206
Rubi steps
\begin{align*} \int \frac{1}{1-2 \coth ^2(x)} \, dx &=-x-2 \int \frac{\text{csch}^2(x)}{1-2 \coth ^2(x)} \, dx\\ &=-x+2 \operatorname{Subst}\left (\int \frac{1}{1-2 x^2} \, dx,x,\coth (x)\right )\\ &=-x+\sqrt{2} \tanh ^{-1}\left (\frac{\tanh (x)}{\sqrt{2}}\right )\\ \end{align*}
Mathematica [A] time = 0.0915005, size = 19, normalized size = 1. \[ \sqrt{2} \tanh ^{-1}\left (\frac{\tanh (x)}{\sqrt{2}}\right )-x \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.019, size = 27, normalized size = 1.4 \begin{align*} -{\frac{\ln \left ( 1+{\rm coth} \left (x\right ) \right ) }{2}}+\sqrt{2}{\it Artanh} \left ( \sqrt{2}{\rm coth} \left (x\right ) \right ) +{\frac{\ln \left ({\rm coth} \left (x\right )-1 \right ) }{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.9028, size = 51, normalized size = 2.68 \begin{align*} -\frac{1}{2} \, \sqrt{2} \log \left (-\frac{2 \, \sqrt{2} - e^{\left (-2 \, x\right )} - 3}{2 \, \sqrt{2} + e^{\left (-2 \, x\right )} + 3}\right ) - x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.56611, size = 220, normalized size = 11.58 \begin{align*} \frac{1}{2} \, \sqrt{2} \log \left (-\frac{3 \,{\left (2 \, \sqrt{2} - 3\right )} \cosh \left (x\right )^{2} - 4 \,{\left (3 \, \sqrt{2} - 4\right )} \cosh \left (x\right ) \sinh \left (x\right ) + 3 \,{\left (2 \, \sqrt{2} - 3\right )} \sinh \left (x\right )^{2} + 2 \, \sqrt{2} - 3}{\cosh \left (x\right )^{2} + \sinh \left (x\right )^{2} + 3}\right ) - x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.0863, size = 34, normalized size = 1.79 \begin{align*} - x - \frac{\sqrt{2} \log{\left (\tanh{\left (x \right )} - \sqrt{2} \right )}}{2} + \frac{\sqrt{2} \log{\left (\tanh{\left (x \right )} + \sqrt{2} \right )}}{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.15317, size = 51, normalized size = 2.68 \begin{align*} \frac{1}{2} \, \sqrt{2} \log \left (-\frac{2 \, \sqrt{2} - e^{\left (2 \, x\right )} - 3}{2 \, \sqrt{2} + e^{\left (2 \, x\right )} + 3}\right ) - x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]